package com.domain;

import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;

public class Employee {
    private Integer id;
    private String number;
    private String password;
    private String name;
    private Integer sex;
    private String work;
    private String tel;
    private String email;
    private String RTX;
    private Integer count;
    private Integer contribute;
    private Integer effort;
    private Integer infoway;
    private String comment;
    private List<Whour> whour;

    //日期类型：
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date joinTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRTX() {
        return RTX;
    }

    public void setRTX(String RTX) {
        this.RTX = RTX;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getContribute() {
        return contribute;
    }

    public void setContribute(Integer contribute) {
        this.contribute = contribute;
    }

    public Integer getEffort() {
        return effort;
    }

    public void setEffort(Integer effort) {
        this.effort = effort;
    }

    public Integer getInfoway() {
        return infoway;
    }

    public void setInfoway(Integer infoway) {
        this.infoway = infoway;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }


    public List<Whour> getWhour() {
        return whour;
    }

    public void setWhour(List<Whour> whour) {
        this.whour = whour;
    }
}